package com.ecoolex.hotel.saas.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.hotel.saas.entity.StoreWeixinConfig;
import com.ecoolex.hotel.saas.entity.StoreWeixinConfigExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface StoreWeixinConfigMapper {
    long countByExample(StoreWeixinConfigExample example);

    int deleteByExample(StoreWeixinConfigExample example);

    int deleteByPrimaryKey(Integer storeId);

    int insert(StoreWeixinConfig record);

    int insertSelective(@Param("record") StoreWeixinConfig record, @Param("selective") StoreWeixinConfig.Column ... selective);

    StoreWeixinConfig selectOneByExample(StoreWeixinConfigExample example);

    List<StoreWeixinConfig> selectByExample(StoreWeixinConfigExample example);

    StoreWeixinConfig selectByPrimaryKey(Integer storeId);

    StoreWeixinConfig selectByPrimaryKeyWithLogicalDelete(@Param("storeId") Integer storeId, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") StoreWeixinConfig record, @Param("example") StoreWeixinConfigExample example, @Param("selective") StoreWeixinConfig.Column ... selective);

    int updateByExample(@Param("record") StoreWeixinConfig record, @Param("example") StoreWeixinConfigExample example);

    int updateByPrimaryKeySelective(@Param("record") StoreWeixinConfig record, @Param("selective") StoreWeixinConfig.Column ... selective);

    int updateByPrimaryKey(StoreWeixinConfig record);

    int batchInsert(@Param("list") List<StoreWeixinConfig> list);

    int batchInsertSelective(@Param("list") List<StoreWeixinConfig> list, @Param("selective") StoreWeixinConfig.Column ... selective);

    int logicalDeleteByExample(@Param("example") StoreWeixinConfigExample example);

    int logicalDeleteByPrimaryKey(Integer storeId);
}